/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package powwa2010;

/**
 *
 * @author User
 */
public class Powwa2010BattClass  {


    /**
     *
     * @param battMinutesLeft (minutes left from Windows Power Tray)
     * @param battPercentLeft (% left from Windows Mobility Center)
     * @return minutes (when battery is 100% full)
     */
     public static int getFullMinutesByRemaining(int battMinutesLeft, int battPercentLeft){
        int x;
        x = 100 * battMinutesLeft / battPercentLeft ;
        return x;
    }
}
